package com.design.decorator;

/**
 * @ClassName Decorator.java
 * @Description 抽象装饰者
 * @author Jon
 * @date 2018年6月18日 下午5:13:45
 */
public abstract class Decorator extends Component {
	private Component componet = null;

	public Decorator(Component componet) {
		this.componet = componet;
	}

	@Override
	public void operate() {
		this.componet.operate();
	}
}
